package com.demo.service;



import java.util.List;


import com.demo.entity.Student;
import com.demo.entity.StudentInfo;


public interface StudentService {
	int addStudent(Student stu) throws Exception;
	Student selectStudentById(String id) throws Exception;
	int deleteStudentById(String id) throws Exception;
	int updateStudent(Student stu) throws Exception;
	List<Student> selectAllStudent() throws Exception;
	List<Student> selectAllStudentInfo()throws Exception;
	List<StudentInfo> selectAllStudentInfoE()throws Exception;
	//根据名字查询
	List<StudentInfo> selectStudentByNamesId(StudentInfo studentInfo) throws Exception;
}
